"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * 泛型使用
 */
function maxValue(args) {
    let max = args[0];
    args.forEach(item => max = item > max ? item : max);
    return max;
}
maxValue([1, 2, 5, 7]);
maxValue(["a", "b", "c"]);
function getValue(pa1, pa2) {
}
getValue(1, "xiaowang");
const user = {
    id: 1, name: "xiaowang"
};
const student = {
    age: 23,
    weight: 156
};
function findObj(obj, key) {
    // return obj[key]
}
findObj(user, "id");
findObj(student, "age");
